<h1 class='logo'>
    <a href="/index.html"></a>
</h1>
<!-- <div class="installApp">
    <a href="https://www.smartisan.com/apps/#/mall">
        <div class="code"></div>
        <span>下载锤子商城APP</span>
        <p>领新人专享大礼包</p>
    </a>
</div> -->
<div class="header">
    <ul id='header-right_warp'>
        <li class='active'><a href="/index.html?id=1">首页</a></li>
    </ul>
    <script type="text/html" id='link_list'>
        {{each linkList item,index}}
                <li><a href="/html/list.html?id={{item.id}}">{{item.name}}</a></li>
        {{/each}}
    </script>
</div>
<div class="header-right">
    <div class="login">
        <a href="/html/login.html"></a>
        <h3>欢迎您！<span class='userName'>吴彦祖</span> <span class='quit'>退出登录</span></h3>
    </div>
    <div class="cart">
        <a href="/html/cart.html"><i class='redDot'></i></a>
        <div class="cart-warp">
           <div class="empty-cart-top">
                <span>购物车为空</span>
                <p>您还没有选购任何商品，现在前往商城选购吧!</p>
           </div>
           <div class="hasCart">
                <ul id='header-cart-warp'>
                    
                </ul>
                <script type='text/html' id='header-cart'>
                    {{each list item}}
                        <li data-id='{{item.id}}'>
                            <a href="/html/shopinfo.html?id={{item.id}}"><img src="{{item.image}}"></a>
                            <div class="shopinfo">
                                <span>{{item.title.slice(0,10)}}...</span>
                                <p class='color'>{{item.couponValue}}</p>
                                <p class="priceinfo"><span class="price">{{item.price}}</span><i>x</i><span class="count">{{item.count}}</span></p>
                            </div>
                            <span class="del">x</span>
                        </li>
                    {{/each}}
                </script>
                <div class="bottom">
                    <div class="left">
                        <p class='count'>共<span></span>件商品</p>
                        <p class='sum'>合计:<span></span></p>
                    </div>
                    <button>去购物车</button>
                </div>
            </div>
        </div>
       
    </div>
</div>